gtk4.git
9 years agoAPI: stylecontext: Remove state argument from getters
Benjamin Otte [Sat, 8 Oct 2016 03:07:23 +0000 (05:07 +0200)]
API: stylecontext: Remove state argument from getters

The argument must always be the current state.

9 years agoAPI: Remove libgail-util
Benjamin Otte [Fri, 7 Oct 2016 23:27:36 +0000 (01:27 +0200)]
API: Remove libgail-util

9 years agoAPI: stylecontext: Remove regions
Benjamin Otte [Fri, 7 Oct 2016 23:16:46 +0000 (01:16 +0200)]
API: stylecontext: Remove regions

9 years agogdk: Remove unused argument parsing structs
Benjamin Otte [Fri, 7 Oct 2016 22:22:55 +0000 (00:22 +0200)]
gdk: Remove unused argument parsing structs

9 years agogdk: Remove leftover structs from ClientMessage days
Benjamin Otte [Fri, 7 Oct 2016 22:20:30 +0000 (00:20 +0200)]
gdk: Remove leftover structs from ClientMessage days

9 years agogdk: Remove unused structs from ColorMap days
Benjamin Otte [Fri, 7 Oct 2016 22:18:36 +0000 (00:18 +0200)]
gdk: Remove unused structs from ColorMap days

9 years agocss: Remove custom properties
Benjamin Otte [Fri, 7 Oct 2016 03:41:30 +0000 (05:41 +0200)]
css: Remove custom properties

Those aren't used anymore, now that theming engines are gone.

9 years agoAPI: Remove GtkStyleProperties
Benjamin Otte [Fri, 7 Oct 2016 02:58:35 +0000 (04:58 +0200)]
API: Remove GtkStyleProperties

9 years agoAPI: Remove API to set CSS properties from GValues
Benjamin Otte [Fri, 7 Oct 2016 02:31:37 +0000 (04:31 +0200)]
API: Remove API to set CSS properties from GValues

This API was only used in GtkModifierStyle and GtkStyleProperties and
they are both on their way out.

CSS properties must now be set using strings via the regular parser API.

9 years agoAPI: stylecontext: Remove old unused animation functions
Benjamin Otte [Fri, 7 Oct 2016 01:51:38 +0000 (03:51 +0200)]
API: stylecontext: Remove old unused animation functions

9 years agoRemove GtkThemingEngine
Timm Bäder [Wed, 5 Oct 2016 18:26:08 +0000 (20:26 +0200)]
Remove GtkThemingEngine

As well as the corresponding GtkCssEngineValue used to parse it in css.

9 years agoui: Don't unnecessarily set GtkEntry:invisible-char
Timm Bäder [Wed, 5 Oct 2016 17:37:44 +0000 (19:37 +0200)]
ui: Don't unnecessarily set GtkEntry:invisible-char

9 years agoentry: Remove invisible-char style property
Timm Bäder [Wed, 5 Oct 2016 17:37:02 +0000 (19:37 +0200)]
entry: Remove invisible-char style property

9 years agostylecontext: Remove _REGION_ constants
Timm Bäder [Wed, 5 Oct 2016 16:35:52 +0000 (18:35 +0200)]
stylecontext: Remove _REGION_ constants

9 years agoRemove GtkIconFactory
Timm Bäder [Wed, 5 Oct 2016 16:35:06 +0000 (18:35 +0200)]
Remove GtkIconFactory

Move the icon size lookup API into gtkicontheme.c

9 years agowidget-factory: Stop using custom icon sizes
Timm Bäder [Wed, 5 Oct 2016 17:41:07 +0000 (19:41 +0200)]
widget-factory: Stop using custom icon sizes

9 years agowidget: Remove cursor-aspect-ratio/window-dragging style properties
Timm Bäder [Wed, 5 Oct 2016 15:23:29 +0000 (17:23 +0200)]
widget: Remove cursor-aspect-ratio/window-dragging style properties

And replaces its usages in GtkTextView/GtkStyleContext with a hard-coded
0.04 which was the default value for cursor-aspect-ratio.  Also remove
the public gtk_draw_insertion_cursor which used draw_insertion_cursor
which in turn looked up cursor-aspect-ratio

9 years agogtkwidget: Remove gtk_widget_class_install_style_property_parser...
Timm Bäder [Wed, 5 Oct 2016 15:08:11 +0000 (17:08 +0200)]
gtkwidget: Remove gtk_widget_class_install_style_property_parser...

... from public API

9 years agowidget: Remove cursor-aspect-ratio style property
Timm Bäder [Wed, 5 Oct 2016 15:07:08 +0000 (17:07 +0200)]
widget: Remove cursor-aspect-ratio style property

9 years agoRemove GtkModifierStyle
Timm Bäder [Wed, 5 Oct 2016 13:01:27 +0000 (15:01 +0200)]
Remove GtkModifierStyle

9 years agowidget: Remove gtk_widget_override* API
Timm Bäder [Wed, 5 Oct 2016 12:47:33 +0000 (14:47 +0200)]
widget: Remove gtk_widget_override* API

9 years agotestoverlay: Stop using gtk_widget_override API
Timm Bäder [Wed, 5 Oct 2016 12:46:49 +0000 (14:46 +0200)]
testoverlay: Stop using gtk_widget_override API

9 years agoplugman: Stop using gtk_override_color
Timm Bäder [Wed, 5 Oct 2016 12:26:30 +0000 (14:26 +0200)]
plugman: Stop using gtk_override_color

9 years agoRemove a few more unused style properties
Timm Bäder [Wed, 5 Oct 2016 06:14:24 +0000 (08:14 +0200)]
Remove a few more unused style properties

9 years agowidget: Remove text-handle-width/height style properties
Timm Bäder [Tue, 4 Oct 2016 19:15:52 +0000 (21:15 +0200)]
widget: Remove text-handle-width/height style properties

9 years agoGtkTextHandle: Use min-width/min-height
Timm Bäder [Tue, 4 Oct 2016 19:13:29 +0000 (21:13 +0200)]
GtkTextHandle: Use min-width/min-height

instead of GtkWidget's text-handle-width/text-handle-height style
properties

9 years agoRemove various unused style properties
Timm Bäder [Tue, 4 Oct 2016 18:16:52 +0000 (20:16 +0200)]
Remove various unused style properties

9 years agoFix a few GtkTextTag:*-gdk references
Timm Bäder [Tue, 4 Oct 2016 18:01:33 +0000 (20:01 +0200)]
Fix a few GtkTextTag:*-gdk references

9 years agoRemove various sizing related style properties
Timm Bäder [Tue, 4 Oct 2016 17:53:36 +0000 (19:53 +0200)]
Remove various sizing related style properties

9 years agoswitch: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 17:23:10 +0000 (19:23 +0200)]
switch: Remove deprecated style properties

9 years agoentry: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 17:14:38 +0000 (19:14 +0200)]
entry: Remove deprecated style properties

9 years agowidget: Remove visibility-notify-event
Timm Bäder [Tue, 4 Oct 2016 17:09:58 +0000 (19:09 +0200)]
widget: Remove visibility-notify-event

9 years agoentry: Remove inner-border (style) property
Timm Bäder [Tue, 4 Oct 2016 17:02:53 +0000 (19:02 +0200)]
entry: Remove inner-border (style) property

9 years agowidget: Remove deprecated margin-left/right properties
Timm Bäder [Tue, 4 Oct 2016 16:34:05 +0000 (18:34 +0200)]
widget: Remove deprecated margin-left/right properties

9 years agowidget: Remove gtk_widget_{s,g}et_composite_name
Timm Bäder [Tue, 4 Oct 2016 16:27:31 +0000 (18:27 +0200)]
widget: Remove gtk_widget_{s,g}et_composite_name

9 years agowidget: Remove gtk_widget_get_requisition
Timm Bäder [Tue, 4 Oct 2016 16:27:16 +0000 (18:27 +0200)]
widget: Remove gtk_widget_get_requisition

9 years agowidget: Remove gtk_widget_send_expose
Timm Bäder [Tue, 4 Oct 2016 16:19:51 +0000 (18:19 +0200)]
widget: Remove gtk_widget_send_expose

9 years agowidget: Remove gtk_widget_{s,g}et_state
Timm Bäder [Tue, 4 Oct 2016 16:18:53 +0000 (18:18 +0200)]
widget: Remove gtk_widget_{s,g}et_state

9 years agowidget: Remove gtk_widget_region_intersect
Timm Bäder [Tue, 4 Oct 2016 16:14:35 +0000 (18:14 +0200)]
widget: Remove gtk_widget_region_intersect

9 years agowidget: Remove gtk_widget_get_child_requisition
Timm Bäder [Tue, 4 Oct 2016 16:13:35 +0000 (18:13 +0200)]
widget: Remove gtk_widget_get_child_requisition

9 years agowidget: Remove gtk_widget_size_request
Timm Bäder [Tue, 4 Oct 2016 16:10:39 +0000 (18:10 +0200)]
widget: Remove gtk_widget_size_request

9 years agowidget: Remove state-changed signal
Timm Bäder [Tue, 4 Oct 2016 16:04:48 +0000 (18:04 +0200)]
widget: Remove state-changed signal

9 years agowidget: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 16:47:05 +0000 (18:47 +0200)]
widget: Remove deprecated style properties

9 years agotestsensitive: Use state-flags-changed instead of state-changed
Timm Bäder [Tue, 4 Oct 2016 16:46:39 +0000 (18:46 +0200)]
testsensitive: Use state-flags-changed instead of state-changed

9 years agoRemove some deprecated GdkColor style properties
Timm Bäder [Tue, 4 Oct 2016 15:56:06 +0000 (17:56 +0200)]
Remove some deprecated GdkColor style properties

9 years agoimage: Remove GtkIconSet API
Timm Bäder [Tue, 4 Oct 2016 15:05:47 +0000 (17:05 +0200)]
image: Remove GtkIconSet API

9 years agorange: Remove min slider size setter/getter
Timm Bäder [Tue, 4 Oct 2016 14:50:28 +0000 (16:50 +0200)]
range: Remove min slider size setter/getter

9 years agoscrollbar: Remove min-slider-length style property
Timm Bäder [Tue, 4 Oct 2016 14:40:20 +0000 (16:40 +0200)]
scrollbar: Remove min-slider-length style property

9 years agolabel: Remove now unneeded deprecation markers
Timm Bäder [Tue, 4 Oct 2016 14:36:27 +0000 (16:36 +0200)]
label: Remove now unneeded deprecation markers

9 years agoscrolledwindow: Remove window-placement-set property
Timm Bäder [Tue, 4 Oct 2016 14:35:53 +0000 (16:35 +0200)]
scrolledwindow: Remove window-placement-set property

9 years agoscrolledwindow: Remove scrollbar-spacing and scrollbars-within-bevel
Timm Bäder [Tue, 4 Oct 2016 14:35:24 +0000 (16:35 +0200)]
scrolledwindow: Remove scrollbar-spacing and scrollbars-within-bevel

9 years agoscrolledwindow: Remove _add_with_viewport
Timm Bäder [Tue, 4 Oct 2016 14:33:05 +0000 (16:33 +0200)]
scrolledwindow: Remove _add_with_viewport

Replaced by a normal gtk_container_add

9 years agoRemove GtkHSV
Timm Bäder [Tue, 4 Oct 2016 13:46:01 +0000 (15:46 +0200)]
Remove GtkHSV

9 years agoRemove various deprecated GtkOrientable subclasses
Timm Bäder [Tue, 4 Oct 2016 10:50:56 +0000 (12:50 +0200)]
Remove various deprecated GtkOrientable subclasses

9 years agoRemove gtkcolorsel(dialog).{c,h}
Timm Bäder [Tue, 4 Oct 2016 10:34:10 +0000 (12:34 +0200)]
Remove gtkcolorsel(dialog).{c,h}

9 years agowindow: Remove _set/_get_opacity
Timm Bäder [Tue, 4 Oct 2016 08:41:25 +0000 (10:41 +0200)]
window: Remove _set/_get_opacity

9 years agowindow: Remove resize grip API
Timm Bäder [Tue, 4 Oct 2016 08:30:57 +0000 (10:30 +0200)]
window: Remove resize grip API

9 years agoRemove gtkfontsel.{c,h}
Timm Bäder [Tue, 4 Oct 2016 08:30:07 +0000 (10:30 +0200)]
Remove gtkfontsel.{c,h}

9 years agodialog: Remove alternative button order API
Timm Bäder [Tue, 4 Oct 2016 08:03:52 +0000 (10:03 +0200)]
dialog: Remove alternative button order API

9 years agoRemove GtkHandleBox
Timm Bäder [Mon, 3 Oct 2016 18:02:21 +0000 (20:02 +0200)]
Remove GtkHandleBox

9 years agoRemove GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 16:25:18 +0000 (18:25 +0200)]
Remove GtkImageMenuItem

9 years agoreftests: Remove GtkMisc tests
Timm Bäder [Mon, 3 Oct 2016 16:08:53 +0000 (18:08 +0200)]
reftests: Remove GtkMisc tests

9 years agoFix a few css/a11y test cases
Timm Bäder [Mon, 3 Oct 2016 15:54:51 +0000 (17:54 +0200)]
Fix a few css/a11y test cases

They were broken because of missing -icon-stock properties in GtkEntry
and GtkButton not creating an adjustment child anymore.

9 years agoRemove GtkMisc
Timm Bäder [Mon, 3 Oct 2016 10:34:17 +0000 (12:34 +0200)]
Remove GtkMisc

9 years agotestfilechooserbutton: Remove GtkMisc API usage
Timm Bäder [Mon, 3 Oct 2016 10:34:30 +0000 (12:34 +0200)]
testfilechooserbutton: Remove GtkMisc API usage

9 years agoreftests: Remove celldenderer-pixbuf-stock
Timm Bäder [Mon, 3 Oct 2016 10:31:47 +0000 (12:31 +0200)]
reftests: Remove celldenderer-pixbuf-stock

The stock properties tested here don't exist anymore.

9 years agoRemove GtkArrow
Timm Bäder [Mon, 3 Oct 2016 09:03:47 +0000 (11:03 +0200)]
Remove GtkArrow

9 years agoshortcutswindow: Stop using GtkArrow
Timm Bäder [Mon, 3 Oct 2016 08:52:40 +0000 (10:52 +0200)]
shortcutswindow: Stop using GtkArrow

9 years agoRemove GtkStock API from GtkImage
Timm Bäder [Mon, 3 Oct 2016 08:33:17 +0000 (10:33 +0200)]
Remove GtkStock API from GtkImage

9 years agoreftests: Remove GtkMisc properties from now non-misc widgets
Timm Bäder [Mon, 3 Oct 2016 08:20:22 +0000 (10:20 +0200)]
reftests: Remove GtkMisc properties from now non-misc widgets

9 years agorecentchoosermenu: Stop using GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 07:57:57 +0000 (09:57 +0200)]
recentchoosermenu: Stop using GtkImageMenuItem

9 years agotoolbutton: Stop using GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 07:46:57 +0000 (09:46 +0200)]
toolbutton: Stop using GtkImageMenuItem

9 years agotestgtk: Remove GtkImageMenuItem usage
Timm Bäder [Mon, 3 Oct 2016 07:33:32 +0000 (09:33 +0200)]
testgtk: Remove GtkImageMenuItem usage

9 years agotestgtk: fix css
Timm Bäder [Mon, 3 Oct 2016 07:31:44 +0000 (09:31 +0200)]
testgtk: fix css

9 years agotestbuttons: Stop looking at use-stock property
Timm Bäder [Sun, 2 Oct 2016 18:10:22 +0000 (20:10 +0200)]
testbuttons: Stop looking at use-stock property

Doesn't exist anymore. Instead, force the image to be visible on one of
the buttons.

9 years agobutton: Remove _{get,set}_focus_click
Timm Bäder [Sun, 2 Oct 2016 17:54:37 +0000 (19:54 +0200)]
button: Remove _{get,set}_focus_click

Deprecated for the GtkWidget variant. Also remove some unused fields
from the GtkButtonPrivate struct.

9 years agobutton: Remove deprecated style properties
Timm Bäder [Sun, 2 Oct 2016 17:47:25 +0000 (19:47 +0200)]
button: Remove deprecated style properties

9 years agobutton: Remove deprecated signals from public API
Timm Bäder [Sun, 2 Oct 2016 17:46:52 +0000 (19:46 +0200)]
button: Remove deprecated signals from public API

9 years agobutton: Remove GtkStock API
Timm Bäder [Sun, 2 Oct 2016 17:03:29 +0000 (19:03 +0200)]
button: Remove GtkStock API

9 years agotests: Remove teststockbuttonmenu
Timm Bäder [Sun, 2 Oct 2016 16:51:09 +0000 (18:51 +0200)]
tests: Remove teststockbuttonmenu

9 years agoButton: Remove alignment API
Timm Bäder [Sun, 2 Oct 2016 16:35:36 +0000 (18:35 +0200)]
Button: Remove alignment API

9 years agolabel,image: Remove GtkMisc usage
Timm Bäder [Sun, 2 Oct 2016 16:19:59 +0000 (18:19 +0200)]
label,image: Remove GtkMisc usage

9 years agobox: Remove 'padding' child property
Timm Bäder [Sun, 2 Oct 2016 15:37:22 +0000 (17:37 +0200)]
box: Remove 'padding' child property

9 years agoinspector: Remove object_title from css editor
Timm Bäder [Sun, 2 Oct 2016 07:15:27 +0000 (09:15 +0200)]
inspector: Remove object_title from css editor

It's unused

9 years agoDon't use GtkBox's center child in a few places
Timm Bäder [Sun, 2 Oct 2016 06:43:30 +0000 (08:43 +0200)]
Don't use GtkBox's center child in a few places

We can as well use a normal child and let it hexpand.

9 years agoAPI: Remove gdk_window_set_background()
Benjamin Otte [Thu, 6 Oct 2016 21:55:53 +0000 (23:55 +0200)]
API: Remove gdk_window_set_background()

Backgrounds are always transparent black.

9 years agotests: Remove testwindows test
Benjamin Otte [Thu, 6 Oct 2016 21:39:05 +0000 (23:39 +0200)]
tests: Remove testwindows test

It wasn't drawing anything anymore...

9 years agoAPI: Remove GtkStyle
Benjamin Otte [Thu, 6 Oct 2016 20:37:42 +0000 (22:37 +0200)]
API: Remove GtkStyle

All the remaining gtkrc.c stuff like GtkRcStyle goes with it.

9 years agosettings: Pull in the RC parsing code
Benjamin Otte [Thu, 6 Oct 2016 19:46:27 +0000 (21:46 +0200)]
settings: Pull in the RC parsing code

9 years agoimmodules: Move path code out of gtkrc
Benjamin Otte [Thu, 6 Oct 2016 17:59:53 +0000 (19:59 +0200)]
immodules: Move path code out of gtkrc

9 years agocellrendererspinner: Draw our own spinner
Benjamin Otte [Thu, 6 Oct 2016 14:41:41 +0000 (16:41 +0200)]
cellrendererspinner: Draw our own spinner

This is the GtkStyle code just moved.

9 years agoAPI: Remove ability to set visuals on windows
Benjamin Otte [Thu, 6 Oct 2016 14:02:39 +0000 (16:02 +0200)]
API: Remove ability to set visuals on windows

And with it, gtk_widget_get_visual() and gtk_widget_set_visual() are
gone.

We now always use the RGBA visual (if available) and otherwise fall back
to the system visual.

9 years agoAPI: Remove gtk_drag_dest_set_proxy()
Benjamin Otte [Mon, 3 Oct 2016 19:16:40 +0000 (21:16 +0200)]
API: Remove gtk_drag_dest_set_proxy()

Proxies were only used by GtkSocket.

9 years agoAPI: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget
Benjamin Otte [Mon, 3 Oct 2016 16:30:40 +0000 (18:30 +0200)]
API: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget

9 years agoAPI: Remove gdk_window_set_composited()
Benjamin Otte [Sun, 2 Oct 2016 01:02:10 +0000 (03:02 +0200)]
API: Remove gdk_window_set_composited()

And the related call gdk_display_supports_composite().

9 years agoscreen: Remove unused vfunc
Benjamin Otte [Fri, 30 Sep 2016 17:27:38 +0000 (19:27 +0200)]
screen: Remove unused vfunc

GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.

9 years agofilechooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 03:14:53 +0000 (05:14 +0200)]
filechooserwidget: Query dpi from CssStyle

9 years agofontchooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 03:11:19 +0000 (05:11 +0200)]
fontchooserwidget: Query dpi from CssStyle

9 years agoAPI: screen: Stop storing font options
Benjamin Otte [Fri, 30 Sep 2016 02:58:29 +0000 (04:58 +0200)]
API: screen: Stop storing font options

font options are only ever set by the GtkSettings object and only ever
used inside GTK, so just store them there.

9 years agoAPI: Remove GDK_WA_CURSOR
Benjamin Otte [Fri, 30 Sep 2016 00:53:31 +0000 (02:53 +0200)]
API: Remove GDK_WA_CURSOR

The cursor was set using gdk_window_set_cursor() even in
gdk_window_new().

So instead of having yet another flag, just make the users of that flag
call gdk_window_set_cursor() directly after the window was created.